<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
	<head>
		<meta http-equiv="content-type" content="text/html; charset=utf-8" />
		<meta name="generator" content="JsDoc Toolkit" />
		
		<title>JsDoc Reference - GREUtils.File</title>

		<style type="text/css">
			/* default.css */
body
{
	font: 12px "Lucida Grande", Tahoma, Arial, Helvetica, sans-serif;
	width: 800px;
}

.header
{
	clear: both;
	background-color: #ccc;
	padding: 8px;
}

h1
{
	font-size: 150%;
	font-weight: bold;
	padding: 0;
	margin: 1em 0 0 .3em;
}

hr
{
	border: none 0;
	border-top: 1px solid #7F8FB1;
	height: 1px;
}

pre.code
{
	display: block;
	padding: 8px;
	border: 1px dashed #ccc;
}

#index
{
	margin-top: 24px;
	float: left;
	width: 160px;
	position: absolute;
	left: 8px;
	background-color: #F3F3F3;
	padding: 8px;
}

#content
{
	margin-left: 190px;
	width: 600px;
}

.classList
{
	list-style-type: none;
	padding: 0;
	margin: 0 0 0 8px;
	font-family: arial, sans-serif;
	font-size: 1em;
	overflow: auto;
}

.classList li
{
	padding: 0;
	margin: 0 0 8px 0;
}

.summaryTable { width: 100%; }

h1.classTitle
{
	font-size:170%;
	line-height:130%;
}

h2 { font-size: 110%; }
caption, div.sectionTitle
{
	background-color: #7F8FB1;
	color: #fff;
	font-size:130%;
	text-align: left;
	padding: 2px 6px 2px 6px;
	border: 1px #7F8FB1 solid;
}

div.sectionTitle { margin-bottom: 8px; }
.summaryTable thead { display: none; }

.summaryTable td
{
	vertical-align: top;
	padding: 4px;
	border-bottom: 1px #7F8FB1 solid;
	border-right: 1px #7F8FB1 solid;
}

/*col#summaryAttributes {}*/
.summaryTable td.attributes
{
	border-left: 1px #7F8FB1 solid;
	width: 140px;
	text-align: right;
}

td.attributes, .fixedFont
{
	line-height: 15px;
	color: #002EBE;
	font-family: "Courier New",Courier,monospace;
	font-size: 13px;
}

.summaryTable td.nameDescription
{
	text-align: left;
	font-size: 13px;
	line-height: 15px;
}

.summaryTable td.nameDescription, .description
{
	line-height: 15px;
	padding: 4px;
	padding-left: 4px;
}

.summaryTable { margin-bottom: 8px; }

ul.inheritsList
{
	list-style: square;
	margin-left: 20px;
	padding-left: 0;
}

.detailList {
	margin-left: 20px; 
	line-height: 15px;
}
.detailList dt { margin-left: 20px; }

.detailList .heading
{
	font-weight: bold;
	padding-bottom: 6px;
	margin-left: 0;
}

.light, td.attributes, .light a:link, .light a:visited
{
	color: #777;
	font-style: italic;
}

.fineprint
{
	text-align: right;
	font-size: 10px;
}
		</style>
	</head>

	<body>
<!-- ============================== header ================================= -->	
		<!-- begin static/header.html -->
		<div id="header">
</div>
		<!-- end static/header.html -->

<!-- ============================== classes index ============================ -->
		<div id="index">
			<!-- begin publish.classesIndex -->
			<div align="center"><a href="../index.html">Class Index</a>
| <a href="../files.html">File Index</a></div>
<hr />
<h2>Classes</h2>
<ul class="classList">
	
	<li><i><a href="../symbols/_global_.html">_global_</a></i></li>
	
	<li><a href="../symbols/GREUtils.html">GREUtils</a></li>
	
	<li><a href="../symbols/GREUtils.Charset.html">GREUtils.Charset</a></li>
	
	<li><a href="../symbols/GREUtils.ControllerAdapter.html">GREUtils.ControllerAdapter</a></li>
	
	<li><a href="../symbols/GREUtils.CryptoHash.html">GREUtils.CryptoHash</a></li>
	
	<li><a href="../symbols/GREUtils.Dialog.html">GREUtils.Dialog</a></li>
	
	<li><a href="../symbols/GREUtils.Dir.html">GREUtils.Dir</a></li>
	
	<li><a href="../symbols/GREUtils.File.html">GREUtils.File</a></li>
	
	<li><a href="../symbols/GREUtils.JSON.html">GREUtils.JSON</a></li>
	
	<li><a href="../symbols/GREUtils.Pref.html">GREUtils.Pref</a></li>
	
	<li><a href="../symbols/GREUtils.Sound.html">GREUtils.Sound</a></li>
	
	<li><a href="../symbols/GREUtils.Thread.html">GREUtils.Thread</a></li>
	
	<li><a href="../symbols/GREUtils.Thread.CallbackRunnableAdapter.html">GREUtils.Thread.CallbackRunnableAdapter</a></li>
	
	<li><a href="../symbols/GREUtils.Thread.WorkerRunnableAdapter.html">GREUtils.Thread.WorkerRunnableAdapter</a></li>
	
	<li><a href="../symbols/GREUtils.XPCOM.html">GREUtils.XPCOM</a></li>
	
</ul>
<hr />
			<!-- end publish.classesIndex -->
		</div>
		
		<div id="content">
<!-- ============================== class title ============================ -->
			<h1 class="classTitle">
				
				Namespace GREUtils.File
			</h1>

<!-- ============================== class summary ========================== -->			
			<p class="description">
				
			
				GREUtils.File
A set of convenience functions for manipulating files.
				
				
					<br /><i>Defined in: </i> <a href="../symbols/src/_home_rack_workspace_greutils_dist_GREUtils.js.html">GREUtils.js</a>.
				
			</p>

<!-- ============================== constructor summary ==================== -->			
			
			<table class="summaryTable" cellspacing="0" summary="A summary of the constructor documented in the class GREUtils.File.">
				<caption>Namespace Summary</caption>
				<thead>
					<tr>
						<th scope="col">Constructor Attributes</th>
						<th scope="col">Constructor Name and Description</th>
					</tr>
				</thead>
				<tbody>
					<tr>
						<td class="attributes">&nbsp;</td>
						<td class="nameDescription" >
							<div class="fixedFont">
								<b><a href="../symbols/GREUtils.File.html#constructor">GREUtils.File</a></b>
							</div>
							<div class="description">A set of convenience functions for manipulating files.</div>
						</td>
					</tr>
				</tbody>
			</table>
			

<!-- ============================== properties summary ===================== -->
			

<!-- ============================== methods summary ======================== -->
			
				
				
				<table class="summaryTable" cellspacing="0" summary="A summary of the methods documented in the class GREUtils.File.">
					<caption>Method Summary</caption>
					<thead>
						<tr>
							<th scope="col">Method Attributes</th>
							<th scope="col">Method Name and Description</th>
						</tr>
					</thead>
					<tbody>
					
						<tr>
							<td class="attributes">&lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">GREUtils.File.<b><a href="../symbols/GREUtils.File.html#.append">append</a></b>(aDirPath, aFileName)
								</div>
								<div class="description">Creates a new file path by appending a file name to a directory path and returns
that new file path.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">GREUtils.File.<b><a href="../symbols/GREUtils.File.html#.chromeToPath">chromeToPath</a></b>(chromePath)
								</div>
								<div class="description">Resolves a Chrome URL into a file path using information in the Chrome registry.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">GREUtils.File.<b><a href="../symbols/GREUtils.File.html#.chromeToURL">chromeToURL</a></b>(chromePath)
								</div>
								<div class="description">Resolves a Chrome URL into a loadable URL using information in the Chrome registry.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">GREUtils.File.<b><a href="../symbols/GREUtils.File.html#.copy">copy</a></b>(aSource, aDest)
								</div>
								<div class="description">Copies a file to a new location.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">GREUtils.File.<b><a href="../symbols/GREUtils.File.html#.dateModified">dateModified</a></b>(aPath)
								</div>
								<div class="description">Returns the modification date of a file or directory.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">GREUtils.File.<b><a href="../symbols/GREUtils.File.html#.exec">exec</a></b>(nsFile, aArgs, blocking)
								</div>
								<div class="description">Spawns a new process to run an executable file.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">GREUtils.File.<b><a href="../symbols/GREUtils.File.html#.exists">exists</a></b>(aFile)
								</div>
								<div class="description">Checks if a file exists.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">GREUtils.File.<b><a href="../symbols/GREUtils.File.html#.ext">ext</a></b>(aPath)
								</div>
								<div class="description">Returns the extension of a file.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">GREUtils.File.<b><a href="../symbols/GREUtils.File.html#.getFile">getFile</a></b>(sFile, autoCreate)
								</div>
								<div class="description">Returns a reference object to a local file location.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">GREUtils.File.<b><a href="../symbols/GREUtils.File.html#.getInputStream">getInputStream</a></b>(file, mode, perm)
								</div>
								<div class="description">Opens an input stream on a local file.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">GREUtils.File.<b><a href="../symbols/GREUtils.File.html#.getLineInputStream">getLineInputStream</a></b>(file)
								</div>
								<div class="description">Opens a line input stream on a local file.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">GREUtils.File.<b><a href="../symbols/GREUtils.File.html#.getOutputStream">getOutputStream</a></b>(file, mode, perm)
								</div>
								<div class="description">Opens an output stream on a local file.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">GREUtils.File.<b><a href="../symbols/GREUtils.File.html#.getURL">getURL</a></b>(sURL)
								</div>
								<div class="description">Constructs an URL reference from an URL string.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">GREUtils.File.<b><a href="../symbols/GREUtils.File.html#.getURLContents">getURLContents</a></b>(aURL)
								</div>
								<div class="description">Retrieves the content located at an URL.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">GREUtils.File.<b><a href="../symbols/GREUtils.File.html#.isDir">isDir</a></b>(aPath)
								</div>
								<div class="description">Checks if a file path points to a regular file.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">GREUtils.File.<b><a href="../symbols/GREUtils.File.html#.isExecutable">isExecutable</a></b>(aPath)
								</div>
								<div class="description">Checks if a file is executable.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">GREUtils.File.<b><a href="../symbols/GREUtils.File.html#.isFile">isFile</a></b>(aPath)
								</div>
								<div class="description">Checks if a file path points to a regular file.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">GREUtils.File.<b><a href="../symbols/GREUtils.File.html#.isHidden">isHidden</a></b>(aPath)
								</div>
								<div class="description">Checks if a file or directory is hidden.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">GREUtils.File.<b><a href="../symbols/GREUtils.File.html#.isSpecial">isSpecial</a></b>(aPath)
								</div>
								<div class="description">Checks if a file path points to a special system file.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">GREUtils.File.<b><a href="../symbols/GREUtils.File.html#.isSymlink">isSymlink</a></b>(aPath)
								</div>
								<div class="description">Checks if a file path points to a symbolic link.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">GREUtils.File.<b><a href="../symbols/GREUtils.File.html#.isWritable">isWritable</a></b>(aPath)
								</div>
								<div class="description">Checks if a file or directory is writable by the user.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">GREUtils.File.<b><a href="../symbols/GREUtils.File.html#.normalize">normalize</a></b>(aPath)
								</div>
								<div class="description">Returns the canonical file path.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">GREUtils.File.<b><a href="../symbols/GREUtils.File.html#.parent">parent</a></b>(aPath)
								</div>
								<div class="description">Returns the parent path of a file path.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">GREUtils.File.<b><a href="../symbols/GREUtils.File.html#.permissions">permissions</a></b>(aPath)
								</div>
								<div class="description">Returns the Unix style permission bits of a file or directory.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">GREUtils.File.<b><a href="../symbols/GREUtils.File.html#.readAllBytes">readAllBytes</a></b>(file)
								</div>
								<div class="description">Reads in the entire content of a file as a series of bytes.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">GREUtils.File.<b><a href="../symbols/GREUtils.File.html#.readAllLine">readAllLine</a></b>(file)
								</div>
								<div class="description">Reads in the entire content of a file as a series of lines.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">GREUtils.File.<b><a href="../symbols/GREUtils.File.html#.remove">remove</a></b>(aFile)
								</div>
								<div class="description">Removes a file.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">GREUtils.File.<b><a href="../symbols/GREUtils.File.html#.run">run</a></b>(nsFile, aArgs, blocking)
								</div>
								<div class="description">Spawns a new process to run an executable file.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">GREUtils.File.<b><a href="../symbols/GREUtils.File.html#.size">size</a></b>(aPath)
								</div>
								<div class="description">Returns the size of a file.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">GREUtils.File.<b><a href="../symbols/GREUtils.File.html#.writeAllBytes">writeAllBytes</a></b>(file, buf)
								</div>
								<div class="description">Writes a binary data to a file.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">GREUtils.File.<b><a href="../symbols/GREUtils.File.html#.writeAllLine">writeAllLine</a></b>(file, lines)
								</div>
								<div class="description">Writes an array of strings to a file.</div>
							</td>
						</tr>
					
					</tbody>
				</table>
				
				
				
			

<!-- ============================== constructor details ==================== -->		
			
			<div class="details"><a name="constructor"> </a>
				<div class="sectionTitle">
					Namespace Detail
				</div>
				
				<div class="fixedFont">
						<b>GREUtils.File</b>
				</div>
				
				<div class="description">
					A set of convenience functions for manipulating files.
					
				</div>
				
				
				
				
					
					
					
					
					
					
					

			</div>
			

<!-- ============================== field details ========================== -->		
			

<!-- ============================== method details ========================= -->		
			
				<div class="sectionTitle">
					Method Detail
				</div>
				
					<a name=".append"> </a>
					<div class="fixedFont">&lt;static&gt; 
					
					<span class="light">{String}</span>
					<span class="light">GREUtils.File.</span><b>append</b>(aDirPath, aFileName)
					
					</div>
					<div class="description">
						Creates a new file path by appending a file name to a directory path and returns
that new file path.  Returns an empty string if the directory does not exist or
if the directory path given does not point to an actual directory.
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{String}</span> <b>aDirPath</b>
									
								</dt>
								<dd>This is the directory path</dd>
							
								<dt>
									<span class="light fixedFont">{String}</span> <b>aFileName</b>
									
								</dt>
								<dd>This is the file name to append to the directory</dd>
							
							</dl>
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{String}</span> filePath      The new file path, empty String if error</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name=".chromeToPath"> </a>
					<div class="fixedFont">&lt;static&gt; 
					
					<span class="light">{String}</span>
					<span class="light">GREUtils.File.</span><b>chromeToPath</b>(chromePath)
					
					</div>
					<div class="description">
						Resolves a Chrome URL into a file path using information in the Chrome registry.
Returns null if resolution fails.
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{String}</span> <b>chromePath</b>
									
								</dt>
								<dd>This is the chrome URL</dd>
							
							</dl>
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{String}</span> filepath      The file path</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name=".chromeToURL"> </a>
					<div class="fixedFont">&lt;static&gt; 
					
					<span class="light">{String}</span>
					<span class="light">GREUtils.File.</span><b>chromeToURL</b>(chromePath)
					
					</div>
					<div class="description">
						Resolves a Chrome URL into a loadable URL using information in the Chrome registry.
Returns a string representation of the loadable URL if successful; otherwise null
is returned.
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{String}</span> <b>chromePath</b>
									
								</dt>
								<dd>This is the chrome URL</dd>
							
							</dl>
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{String}</span> url           The loadable URL</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name=".copy"> </a>
					<div class="fixedFont">&lt;static&gt; 
					
					<span class="light">{Boolean}</span>
					<span class="light">GREUtils.File.</span><b>copy</b>(aSource, aDest)
					
					</div>
					<div class="description">
						Copies a file to a new location.

This method copies an existing file to a new location. If the new location is
a directory, that directory must already exist, and the file is copied into that
directory with the same file name.

This method will not overwrite existing file; if a file already exists at the
new location then no copy takes place and the method returns "false".

Returns "true" if the file is successfully copied, "false" otherwise.
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{String}</span> <b>aSource</b>
									
								</dt>
								<dd>This is the file from which to copy</dd>
							
								<dt>
									<span class="light fixedFont">{String}</span> <b>aDest</b>
									
								</dt>
								<dd>This is the location to which to copy</dd>
							
							</dl>
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{Boolean}</span> "true" if the copy succeeds; "false" otherwise</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name=".dateModified"> </a>
					<div class="fixedFont">&lt;static&gt; 
					
					<span class="light">{String}</span>
					<span class="light">GREUtils.File.</span><b>dateModified</b>(aPath)
					
					</div>
					<div class="description">
						Returns the modification date of a file or directory. Returns 0 if the file or
directory does not exist.
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{String}</span> <b>aPath</b>
									
								</dt>
								<dd>This is the file path</dd>
							
							</dl>
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{Date}</span> The modification date</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name=".exec"> </a>
					<div class="fixedFont">&lt;static&gt; 
					
					<span class="light">{void}</span>
					<span class="light">GREUtils.File.</span><b>exec</b>(nsFile, aArgs, blocking)
					
					</div>
					<div class="description">
						Spawns a new process to run an executable file.

This method runs an executable file in a newly spawned process. The "aArgs" parameter
contains a array of arguments to pass to this executable on its command line. The "blocking"
parameter controls whether to block until the process terminates.
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{Object}</span> <b>nsFile</b>
									
								</dt>
								<dd>This is the executable file. It can be a string containing the file path or a file location reference</dd>
							
								<dt>
									<span class="light fixedFont">{String}</span> <b>aArgs</b>
									
								</dt>
								<dd>This is the array of arguments to pass to the executable</dd>
							
								<dt>
									<span class="light fixedFont">{Boolean}</span> <b>blocking</b>
									
								</dt>
								<dd>If "true", the method blocks until the process terminates; defaults to false</dd>
							
							</dl>
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd></dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name=".exists"> </a>
					<div class="fixedFont">&lt;static&gt; 
					
					<span class="light">{Boolean}</span>
					<span class="light">GREUtils.File.</span><b>exists</b>(aFile)
					
					</div>
					<div class="description">
						Checks if a file exists.
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{String}</span> <b>aFile</b>
									
								</dt>
								<dd>This is the file path</dd>
							
							</dl>
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{Boolean}</span> "true" if the file exists; "false" otherwise</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name=".ext"> </a>
					<div class="fixedFont">&lt;static&gt; 
					
					<span class="light">{String}</span>
					<span class="light">GREUtils.File.</span><b>ext</b>(aPath)
					
					</div>
					<div class="description">
						Returns the extension of a file. Returns an empty string if the file does not exist
or if the file extension cannot be determined.
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{String}</span> <b>aPath</b>
									
								</dt>
								<dd>This is the file path</dd>
							
							</dl>
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{String}</span> filePath      The file extension, empty String if error.</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name=".getFile"> </a>
					<div class="fixedFont">&lt;static&gt; 
					
					<span class="light">{nsILocalFile}</span>
					<span class="light">GREUtils.File.</span><b>getFile</b>(sFile, autoCreate)
					
					</div>
					<div class="description">
						Returns a reference object to a local file location.

This method takes a string representing the full file path and returns an nsILocalFile
object representing that file location.

If "autoCreate" is true then the file is created if it does not already exist.

If no file exists at the location or cannot be created (if "autoCreate" is true),
null is returned.
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{String}</span> <b>sFile</b>
									
								</dt>
								<dd>This is the full path to the file</dd>
							
								<dt>
									<span class="light fixedFont">{String}</span> <b>autoCreate</b>
									
								</dt>
								<dd>This flag indicates whether the file should be created if it does not exist; defaults to false</dd>
							
							</dl>
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd>The file location reference</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name=".getInputStream"> </a>
					<div class="fixedFont">&lt;static&gt; 
					
					<span class="light">{nsIScritableInputStream|nsIBinaryInputStream}</span>
					<span class="light">GREUtils.File.</span><b>getInputStream</b>(file, mode, perm)
					
					</div>
					<div class="description">
						Opens an input stream on a local file.

This method opens an input stream on the specified file with the given mode
and permission. The file is specified either with a string containing its path, or
with a file location reference (nsILocalFile). Null is returned if the file does
not already exist.

The file is opened in read-only mode.

Normally an nsIScriptableInputStream object is returned; however, if binary mode ("b")
is specified (through the "mode" parameter), this method returns an nsIBinaryInputStream
object instead.
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{Object}</span> <b>file</b>
									
								</dt>
								<dd>This is the file. It can be a string containing the file path or a file location reference</dd>
							
								<dt>
									<span class="light fixedFont">{String}</span> <b>mode</b>
									
								</dt>
								<dd>This is the mode flag</dd>
							
								<dt>
									<span class="light fixedFont">{Number}</span> <b>perm</b>
									
								</dt>
								<dd>This is the permission with which to create the file (if needed); defaults to FILE_DEFAULT_PERMS</dd>
							
							</dl>
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd>A file output stream</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name=".getLineInputStream"> </a>
					<div class="fixedFont">&lt;static&gt; 
					
					<span class="light">{nsIScritableInputStream|nsIBinaryInputStream}</span>
					<span class="light">GREUtils.File.</span><b>getLineInputStream</b>(file)
					
					</div>
					<div class="description">
						Opens a line input stream on a local file.

This method opens a read-only input stream on the specified file. The file is
specified either with a string containing its path, or with a file location
reference (nsILocalFile).

This method returns an nsILineInputStream, or null if the file cannot be opened
for reading.
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{Object}</span> <b>file</b>
									
								</dt>
								<dd>This is the file. It can be a string containing the file path or a file location reference</dd>
							
							</dl>
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd>A file output stream</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name=".getOutputStream"> </a>
					<div class="fixedFont">&lt;static&gt; 
					
					<span class="light">{nsIFileOutputStream|nsIBinaryOutputStream}</span>
					<span class="light">GREUtils.File.</span><b>getOutputStream</b>(file, mode, perm)
					
					</div>
					<div class="description">
						Opens an output stream on a local file.

This method opens an output stream on the specified file with the given mode
and permission. The file is specified either with a string containing its path, or
with a file location reference (nsILocalFile). The file is created with
the specified permission if it does not already exist.

The mode flag can contain valid combinations of the following:

 - "w" (write-only)
 - "a" (append)
 - "b" (binary)

Normally an nsIFileOutputStream object is returned; however, if binary mode ("b") is
specified, this method returns an nsIBinaryOutputStream
object instead.

Returns null if the local file cannot be read or if it cannot be created.
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{Object}</span> <b>file</b>
									
								</dt>
								<dd>This is the file. It can be a string containing the file path or a file location reference</dd>
							
								<dt>
									<span class="light fixedFont">{String}</span> <b>mode</b>
									
								</dt>
								<dd>This is the mode flag</dd>
							
								<dt>
									<span class="light fixedFont">{Number}</span> <b>perm</b>
									
								</dt>
								<dd>This is the permission with which to create the file (if needed)</dd>
							
							</dl>
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd>A file output stream</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name=".getURL"> </a>
					<div class="fixedFont">&lt;static&gt; 
					
					<span class="light">{nsIURL|nsIFileURL}</span>
					<span class="light">GREUtils.File.</span><b>getURL</b>(sURL)
					
					</div>
					<div class="description">
						Constructs an URL reference from an URL string.

This method takes a URL string and returns the corresponding URL object. If
the URL points to a file resource (i.e. protocol="file:"), this method returns
an nsIFileURL. Otherwise an nsIURL is returned.
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{String}</span> <b>sURL</b>
									
								</dt>
								<dd>This is the URL string</dd>
							
							</dl>
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd>An URL object</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name=".getURLContents"> </a>
					<div class="fixedFont">&lt;static&gt; 
					
					<span class="light">{String}</span>
					<span class="light">GREUtils.File.</span><b>getURLContents</b>(aURL)
					
					</div>
					<div class="description">
						Retrieves the content located at an URL.

This method retrieves the content located at the given URL, which can reference
a remote location. The content is returned as a String. If the URL cannot be
retrieved, an empty string is returned.
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{String}</span> <b>aURL</b>
									
								</dt>
								<dd>This is the URL from which to retrieve content</dd>
							
							</dl>
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd>The URL content as a String</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name=".isDir"> </a>
					<div class="fixedFont">&lt;static&gt; 
					
					<span class="light">{Boolean}</span>
					<span class="light">GREUtils.File.</span><b>isDir</b>(aPath)
					
					</div>
					<div class="description">
						Checks if a file path points to a regular file.
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{String}</span> <b>aPath</b>
									
								</dt>
								<dd>This is the file path</dd>
							
							</dl>
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{Boolean}</span> "true" if the path is a file; "false" otherwise</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name=".isExecutable"> </a>
					<div class="fixedFont">&lt;static&gt; 
					
					<span class="light">{Boolean}</span>
					<span class="light">GREUtils.File.</span><b>isExecutable</b>(aPath)
					
					</div>
					<div class="description">
						Checks if a file is executable.
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{String}</span> <b>aPath</b>
									
								</dt>
								<dd>This is the file</dd>
							
							</dl>
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{Boolean}</span> "true" if the path is an executable file; "false" otherwise</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name=".isFile"> </a>
					<div class="fixedFont">&lt;static&gt; 
					
					<span class="light">{Boolean}</span>
					<span class="light">GREUtils.File.</span><b>isFile</b>(aPath)
					
					</div>
					<div class="description">
						Checks if a file path points to a regular file.
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{String}</span> <b>aPath</b>
									
								</dt>
								<dd>This is the file path</dd>
							
							</dl>
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{Boolean}</span> "true" if the path is a file; "false" otherwise</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name=".isHidden"> </a>
					<div class="fixedFont">&lt;static&gt; 
					
					<span class="light">{Boolean}</span>
					<span class="light">GREUtils.File.</span><b>isHidden</b>(aPath)
					
					</div>
					<div class="description">
						Checks if a file or directory is hidden.
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{String}</span> <b>aPath</b>
									
								</dt>
								<dd>This is the file or directory</dd>
							
							</dl>
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{Boolean}</span> "true" if the path is writable; "false" otherwise</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name=".isSpecial"> </a>
					<div class="fixedFont">&lt;static&gt; 
					
					<span class="light">{Boolean}</span>
					<span class="light">GREUtils.File.</span><b>isSpecial</b>(aPath)
					
					</div>
					<div class="description">
						Checks if a file path points to a special system file.
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{String}</span> <b>aPath</b>
									
								</dt>
								<dd>This is the file path</dd>
							
							</dl>
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{Boolean}</span> "true" if the file is special; "false" otherwise</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name=".isSymlink"> </a>
					<div class="fixedFont">&lt;static&gt; 
					
					<span class="light">{Boolean}</span>
					<span class="light">GREUtils.File.</span><b>isSymlink</b>(aPath)
					
					</div>
					<div class="description">
						Checks if a file path points to a symbolic link.
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{String}</span> <b>aPath</b>
									
								</dt>
								<dd>This is the file path</dd>
							
							</dl>
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{Boolean}</span> "true" if the path is a symbolic link; "false" otherwise</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name=".isWritable"> </a>
					<div class="fixedFont">&lt;static&gt; 
					
					<span class="light">{Boolean}</span>
					<span class="light">GREUtils.File.</span><b>isWritable</b>(aPath)
					
					</div>
					<div class="description">
						Checks if a file or directory is writable by the user.
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{String}</span> <b>aPath</b>
									
								</dt>
								<dd>This is the file or directory</dd>
							
							</dl>
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{Boolean}</span> "true" if the path is writable; "false" otherwise</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name=".normalize"> </a>
					<div class="fixedFont">&lt;static&gt; 
					
					<span class="light">{String}</span>
					<span class="light">GREUtils.File.</span><b>normalize</b>(aPath)
					
					</div>
					<div class="description">
						Returns the canonical file path.

Returns -1 if the file path does not exist or if read permission is denied for a
component of the path prefix.
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{String}</span> <b>aPath</b>
									
								</dt>
								<dd>This is the file path to normalize</dd>
							
							</dl>
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd>The normalized file path</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name=".parent"> </a>
					<div class="fixedFont">&lt;static&gt; 
					
					<span class="light">{String}</span>
					<span class="light">GREUtils.File.</span><b>parent</b>(aPath)
					
					</div>
					<div class="description">
						Returns the parent path of a file path.

If "aPath" is a file, this method returns the path of the directory containing the
file. If "aPath" is a directory, this method returns the path of the directory itself.

Returns an empty string if "aPath" does not exist.
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{String}</span> <b>aPath</b>
									
								</dt>
								<dd>This is the file path</dd>
							
							</dl>
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{String}</span> filePath      The parent path, empty String if error</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name=".permissions"> </a>
					<div class="fixedFont">&lt;static&gt; 
					
					<span class="light">{String}</span>
					<span class="light">GREUtils.File.</span><b>permissions</b>(aPath)
					
					</div>
					<div class="description">
						Returns the Unix style permission bits of a file or directory. Returns 0 if the
file or directory does not exist.
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{String}</span> <b>aPath</b>
									
								</dt>
								<dd>This is the file path</dd>
							
							</dl>
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{String}</span> The octal representation of the Unix style permission bits</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name=".readAllBytes"> </a>
					<div class="fixedFont">&lt;static&gt; 
					
					<span class="light">{String}</span>
					<span class="light">GREUtils.File.</span><b>readAllBytes</b>(file)
					
					</div>
					<div class="description">
						Reads in the entire content of a file as a series of bytes.

This method reads in the specified file as a binary stream containing untagged,
big-endian binary data.

This method returns the content of the file as a String.
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{Object}</span> <b>file</b>
									
								</dt>
								<dd>This is the file. It can be a string containing the file path or a file location reference</dd>
							
							</dl>
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd>The file content as a String</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name=".readAllLine"> </a>
					<div class="fixedFont">&lt;static&gt; 
					
					<span class="light">{Array of String}</span>
					<span class="light">GREUtils.File.</span><b>readAllLine</b>(file)
					
					</div>
					<div class="description">
						Reads in the entire content of a file as a series of lines.

This method reads in the specified file on a line-by-line basis, where each line
is a possibly zero-length sequence of 8-bit characters terminated by a CR, LF, CRLF,
LFCR, or EOF.

This method returns the content of the file as an array of lines, with the line
terminators stripped out.
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{Object}</span> <b>file</b>
									
								</dt>
								<dd>This is the file. It can be a string containing the file path or a file location reference</dd>
							
							</dl>
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd>The file content as an array of lines</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name=".remove"> </a>
					<div class="fixedFont">&lt;static&gt; 
					
					<span class="light">{Boolean}</span>
					<span class="light">GREUtils.File.</span><b>remove</b>(aFile)
					
					</div>
					<div class="description">
						Removes a file.

This method removes a file if it exists. Does not remove directories. Returns
"true" if the file is removed, "false" otherwise.
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{String}</span> <b>aFile</b>
									
								</dt>
								<dd>This is the file path</dd>
							
							</dl>
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{Boolean}</span> "true" if the file exists; "false" otherwise</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name=".run"> </a>
					<div class="fixedFont">&lt;static&gt; 
					
					<span class="light">{Int}</span>
					<span class="light">GREUtils.File.</span><b>run</b>(nsFile, aArgs, blocking)
					
					</div>
					<div class="description">
						Spawns a new process to run an executable file.

This method runs an executable file in a newly spawned process. The "aArgs" parameter
contains a array of arguments to pass to this executable on its command line. The "blocking"
parameter controls whether to block until the process terminates.

Normally the process ID of the newly spawn process is returned. A negative return
value indicates an error condition:
   -1: the file does not exist
   -2: the file path points to a directory
   -3: other exceptions
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{Object}</span> <b>nsFile</b>
									
								</dt>
								<dd>This is the executable file. It can be a string containing the file path or a file location reference</dd>
							
								<dt>
									<span class="light fixedFont">{String}</span> <b>aArgs</b>
									
								</dt>
								<dd>This is the array of arguments to pass to the executable</dd>
							
								<dt>
									<span class="light fixedFont">{Boolean}</span> <b>blocking</b>
									
								</dt>
								<dd>If "true", the method blocks until the process terminates; defaults to false</dd>
							
							</dl>
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{Number}</span> The process ID</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name=".size"> </a>
					<div class="fixedFont">&lt;static&gt; 
					
					<span class="light">{Int}</span>
					<span class="light">GREUtils.File.</span><b>size</b>(aPath)
					
					</div>
					<div class="description">
						Returns the size of a file. Returns -1 if the file does not exist or if the
file size cannot be determined.
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{String}</span> <b>aPath</b>
									
								</dt>
								<dd>This is the file path</dd>
							
							</dl>
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{Number}</span> The file size</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name=".writeAllBytes"> </a>
					<div class="fixedFont">&lt;static&gt; 
					
					<span class="light">{void}</span>
					<span class="light">GREUtils.File.</span><b>writeAllBytes</b>(file, buf)
					
					</div>
					<div class="description">
						Writes a binary data to a file.
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{Object}</span> <b>file</b>
									
								</dt>
								<dd>This is the file. It can be a string containing the file path or a file location reference</dd>
							
								<dt>
									<span class="light fixedFont">{String}</span> <b>buf</b>
									
								</dt>
								<dd>This is the binary data to write</dd>
							
							</dl>
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd></dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name=".writeAllLine"> </a>
					<div class="fixedFont">&lt;static&gt; 
					
					<span class="light">{void}</span>
					<span class="light">GREUtils.File.</span><b>writeAllLine</b>(file, lines)
					
					</div>
					<div class="description">
						Writes an array of strings to a file.

This method takes a array of strings and write each string in order to a file.
A newline character ('\n') is appended to each string before writing.
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{Object}</span> <b>file</b>
									
								</dt>
								<dd>This is the file. It can be a string containing the file path or a file location reference</dd>
							
								<dt>
									<span class="light fixedFont">{Array}</span> <b>lines</b>
									
								</dt>
								<dd>This is the Array of Strings to write</dd>
							
							</dl>
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd></dd>
							
							</dl>
						
						
						

					
				
			
			
			<hr />
		</div>
		
<!-- ============================== footer ================================= -->
		<div class="fineprint" style="clear:both">
			
			Documentation generated by <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a> 2.0.1 on Thu Aug 28 2008 13:30:55 GMT+0800 (CST)
		</div>
	</body>
</html>
